package org.ben.birthday.twentybirthday.dao;

import org.ben.birthday.twentybirthday.entity.BackGroundMovie;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: Ben
 * @Date: 2019/8/8 13:45
 */
public interface BackGroundMovieDaoRepository extends JpaRepository<BackGroundMovie,Integer> {

    /**
     * 根据背景视频地址查询
     * @param movieUrl
     * @return List<BackGroundMovie>
     */
    List<BackGroundMovie> findBackGroundMovieByMovieUrl(String movieUrl);
}
